package com.diorsunion.hedge.borker;

import com.diorsunion.hedge.common.ConnectionStatus;
import com.diorsunion.hedge.common.ServiceResult;

/**
 * 券商客户端
 * Created by custe on 2016/5/28.
 */
public interface BorkerClient {
    String getBorkerName();
    ServiceResult<ConnectionStatus> connect(String address, int port);
    ServiceResult<ConnectionStatus> disConnect();
    ServiceResult<ConnectionStatus> status();
    ServiceResult reqAccountInfo();
}
